import 'package:flutter/cupertino.dart';
import 'package:mobile_app.core/core/application/models/app_navigator_page_model.dart';
import 'package:mobile_app.core/core/presentation/widgets/cupertino_with_modal_page.dart';

class AppNavigatorPage<T> extends CupertinoWithModalPage<T> {
  AppNavigatorPage({
    required super.child,
    required this.pageModel,
    super.maintainState,
    super.fullscreenDialog,
    super.opaque,
    super.name,
    super.arguments,
  }) : super(key: ValueKey(pageModel.id));

  final AppNavigatorPageModel pageModel;
}
